package com.webcamtracker.ms2;

public class Utils {
    public static int red(int rgbColor) {
        return (rgbColor & 0x00FF0000) >> 16;
    }

    public static int green(int rgbColor) {
        return (rgbColor & 0x0000FF00) >> 8;
    }

    public static int blue(int rgbColor) {
        return (rgbColor & 0x000000FF);
    }

}
